﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UserControls_ProductDetailsControl : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        String id = Request.QueryString["ProductID"];
        if (id == null) id = "P1";
        productsDetail.DataSource = DataAccess.getDetailsProducts(id);
        productsDetail.DataBind();
    }
}